﻿@{
    ViewBag.Title = "Home Page";
}
<h3>@DateTime.Now.DayOfWeek.ToString()</h3>

<div class="CAL-Calendar-Content">
    @{var rand = new Random();}
    @for (int week = 0; week < 5; week++)
    {
        <div class="CAL-Day-MounthView-Row">
            @for( int weekday = 1; weekday <= 7; weekday++){
                var day = week * 7 + weekday;
                <div class="CAL-Day-MounthView">
                    <div>@day</div>
                    @if(rand.Next(0,2)==1){
                    <div class="CAL-Entry-MountView primary-5" >16:00 Tesztadat</div>}
                    @if(rand.Next(0,2)==1){
                    <div class="CAL-Entry-MountView secondary-a-5" >18:00 Tesztadat kifér</div>}
                    @if(rand.Next(0,2)==1){
                    <div class="CAL-Entry-MountView secondary-b-5" >20:00 Valami más</div>}
                </div>
            }
        </div>
    }
</div>
